//组合类的初始化
#include <iostream>
using namespace std;

//point类
class Point //点类，用两个坐标描述
{
private:
  int x, y;

public:
  Point(int a, int b) //构造函数，带两个整型参数
  {
    x = a;
    y = b;
    cout << "Point 构造函数 1(" << x << "," << y << ")" << endl;
  };
  Point(Point &A){
    x = A.x;
    y = A.y;
    cout<< "Point 构造函数 2(" << x << "," << y << ")" << endl;
  }
  void show(){
    cout<< "Point (" << x << "," << y << ")" << endl;
  }
};


